package backtype.storm.hooks;

import java.util.Map;

import backtype.storm.hooks.info.*;
import backtype.storm.task.TopologyContext;


public interface ITaskHook {
    void prepare(Map conf, TopologyContext context);


    void cleanup();


    void emit(EmitInfo info);


    void spoutAck(SpoutAckInfo info);


    void spoutFail(SpoutFailInfo info);


    void boltExecute(BoltExecuteInfo info);


    void boltAck(BoltAckInfo info);


    void boltFail(BoltFailInfo info);
}
